<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户信息</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/bootstrap.min.css">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="${pageContext.request.contextPath}/static/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="${pageContext.request.contextPath}/static/bootstrap.min.js"></script>
    <script type="text/javascript" src="http://common.cnblogs.com/script/jquery.js"></script>

    <script>

    </script>
</head>
<body>
<%--我的资料，登录用户可查看自己的账号信息--%>

<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <br>
            <br>
            <h3 align="center" style="">用户信息</h3>
            <br>
            <hr>
            <table class="table table-bordered" style="padding-left: 20px;">
                <tbody>
                <tr>
                    <td>名字</td>
                    <td>
                        ${user.name}
                    </td>
                </tr>
                <tr>
                    <td>图片</td>
                    <td>
                        <img src="/user/image/${user.headPhoto}" >
                    </td>
                </tr>
                <tr>
                    <td>状态</td>
                    <td>
                        <c:if test="${user.status == 'disabled'}">
                            禁用
                        </c:if>
                        <c:if test="${user.status == 'enabled'}">
                            正常
                        </c:if>
                    </td>
                </tr>
                <tr>
                    <td>签名</td>
                    <td>
                        ${user.sign}
                    </td>
                </tr>
                <tr>
                    <td>手机号码</td>
                    <td>
                        ${user.tel}
                    </td>
                </tr>
                <tr>
                    <td>qq</td>
                    <td>
                        ${user.qq}
                    </td>
                </tr>
                <tr>
                    <td>邮箱</td>
                    <td>
                        ${user.email}
                    </td>
                </tr>
                </tbody>
            </table>

        </div>
    </div>
</div>
</body>
</html>
